#include<iostream>
#include "SelectServer.hpp"
#include "PollServer.hpp"
#include "EpollServer.hpp"
int main(int argc,char* argv[])
{
    if(argc!=2)
    {
        exit(USAGE_ERR);
    }
    uint16_t port = std::stoi(argv[1]);

    //std::unique_ptr<SelectServer> selecter = std::make_unique<SelectServer>(port);
    //selecter->Start();
    std::unique_ptr<EpollServer> epoller = std::make_unique<EpollServer>(port);
    epoller->Start();
    return 0;
}